package com.xu.lambda;


import com.xu.service.UserService;
import com.xu.service.impl.UserServiceImpl;

/**
 *
 * @author xudenghui
 * @create 2023-04-05 13:35
 **/
public class Demo2 {
    public void user(UserService service){
        service.show();
    }

    public static void main(String[] args) {
        Demo2 demo2 = new Demo2();
        UserServiceImpl userService = new UserServiceImpl();
        demo2.user(userService);
    }









}
